package com.qd.hik.dto.parkinfo;

import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 泊位信息
 *
 * @author sjk
 * @create 2024-05-29 15:33
 * @since 1.0.0
 */
@Data
@Accessors(chain = true)
public class BerthInfoResp {
    /**
     * 停车场编号
     */
    private String parkCode;
    /**
     * 泊位编号
     */
    private String berthCode;
    /**
     * 泊位号
     */
    private String berthNumber;
    /**
     * 泊位状态：0 空闲;1 占用;2 未知
     */
    private Integer berthStatus;

    public void freeData() {
        this.parkCode = null;
        this.berthCode = null;
        this.berthNumber = null;
        this.berthStatus = null;
    }
}